package cn.winter.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.winter.dao.UserDao;
import cn.winter.entity.User;
@Service
public class UserService {
	@Autowired
	private UserDao userDao;
	public List<User> findAll() {
		List<User> users = userDao.findAll();
		return users;
	}
	
}
